Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sequence search track #3159

Merged
merged 17 commits into from
Aug 25, 2022
Merged

Sequence search track #3159

merged 17 commits into from
Aug 25, 2022

Conversation

cmdcolin
Copy link
Collaborator

@cmdcolin cmdcolin commented Aug 24, 2022

This is a basic implementation of sequence search track

It allows a user to pop up a dialog in the linear genome view menu, and it uses a SequenceSearchAdapter to match data, with a single assembly's sequence adapter as a subadapter

Also refactors some code in the sequence plugin so that each pluggable element registers itself instead of being a lengthy process inside of plugins/sequence/src/index.ts

Screenshot from 2022-08-25 11-20-27

Screenshot from 2022-08-25 11-18-45

Addresses #3150

Note that this uses static blocks, it could potentially use dynamic blocks to help avoid issues around the block boundary, but then might need a custom display type, which is a bit trickier than just saying that it is a plain FeatureTrack with the SequenceSearchAdapter

@github-actions github-actions bot added the needs label triage Needs a label to show in changelog (breaking, enhancement, bug, documentation, or internal) label Aug 24, 2022
@cmdcolin cmdcolin added enhancement New feature or request and removed needs label triage Needs a label to show in changelog (breaking, enhancement, bug, documentation, or internal) labels Aug 24, 2022
@codecov
Copy link

codecov bot commented Aug 24, 2022

Codecov Report

Merging #3159 (e6c6518) into main (078b9fc) will decrease coverage by 0.14%.
The diff coverage is 47.78%.

❗ Current head e6c6518 differs from pull request most recent head ea4a636. Consider uploading reports for the commit ea4a636 to get more accurate results

@@            Coverage Diff             @@
##             main    #3159      +/-   ##
==========================================
- Coverage   58.80%   58.65%   -0.15%     
==========================================
  Files         648      663      +15     
  Lines       29048    29159     +111     
  Branches     7069     7086      +17     
==========================================
+ Hits        17081    17104      +23     
- Misses      11588    11676      +88     
  Partials      379      379              
Impacted Files Coverage Δ
.../LinearGenomeView/components/GetSequenceDialog.tsx 56.00% <ø> (ø)
...view/src/LinearGenomeView/components/SearchBox.tsx 86.84% <ø> (ø)
...nearGenomeView/components/SequenceSearchDialog.tsx 0.00% <0.00%> (ø)
.../sequence/src/GCContentAdapter/GCContentAdapter.ts 0.00% <0.00%> (ø)
...src/LinearReferenceSequenceDisplay/configSchema.ts 100.00% <ø> (ø)
...ce/src/LinearSequenceSearchDisplay/configSchema.ts 0.00% <0.00%> (ø)
.../sequence/src/LinearSequenceSearchDisplay/index.ts 0.00% <0.00%> (ø)
.../sequence/src/LinearSequenceSearchDisplay/model.ts 0.00% <0.00%> (ø)
...equence/src/ReferenceSequenceTrack/configSchema.ts 58.33% <ø> (ø)
...src/SequenceSearchAdapter/SequenceSearchAdapter.ts 0.00% <0.00%> (ø)
... and 18 more

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@cmdcolin cmdcolin force-pushed the sequence_track_search branch 2 times, most recently from dc884a6 to b0928c9 Compare August 25, 2022 01:25
@cmdcolin cmdcolin merged commit d8548a9 into main Aug 25, 2022
@cmdcolin cmdcolin deleted the sequence_track_search branch August 25, 2022 18:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant